package com.liming.common.pojo.vo.coupon.openfeign;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


/**
 * @author liming
 * @date 2025/3/22
 */
@Data
@Schema(description = "小程序 - 优惠券VO")
public class FeignMiniCouponVO {

    @Schema(description = "优惠券ID")
    private Long id;

    @Schema(description = "优惠券名称")
    private String name;

    @Schema(description = "优惠券类型（1 满减券， 2 折扣券）")
    private Integer discountType;

    @Schema(description = "满减券使用门槛（以分为单位，整数型）")
    private Integer minPurchaseAmount;

    @Schema(description = "优惠券折扣值")
    private Integer discountAmount;

    @Schema(description = "默认使用")
    private Boolean defaultUse;
}
